package com.hlhj.carview.presenter

import android.content.Context
import com.example.mymvp.mvp.BasePresenter
import com.hlhj.carview.Iview.AboutUsView
import com.hlhj.carview.bean.MyBaseBean
import com.hlhj.carview.module.AboutUsModule

/**
 * Created by Never Fear   on 2018\12\24 0024.
Never More....
 */
class AboutUsPresenter :BasePresenter<AboutUsModule,AboutUsView>(), AboutUsView {
    override fun setAboutUs(myBaseBean: MyBaseBean) {
        view?.setAboutUs(myBaseBean)
    }

    fun getAbout(c: Context){
        module?.getAboutUs(c)
    }
    override fun createModule() {
        module=AboutUsModule()
        module?.li=this
    }
}